<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title> test javascript</title>
        <script type ="text/javascript">
            function affiche(message) {
                alert(message);
            }
        </script>
    </head>
    <body>
        <p> appel de fonctions 1:</p>
        <script type="text/javascript">
            var suiteMessage;
            affiche("salut");
            suiteMessage = "tout " + "le monde !";
            affiche(suiteMessage);
            suiteMessage = 6 + 5; affiche (suiteMessage);
        </script>
        <input type = "button" value="Cliquer"
                            onclick='alert("on a cliqué !")'; 
                            />
                            <a href="javascript:alert('Encore un clic');">cliquer ici</a>
        <script type="text/javascript" src="outils.js"> </script>
    </body>
</html>
